/*
 * Copyright 2017 The JA-SIG Collaborative. All rights reserved.
 * distributed with thi file and available online at
 */
package com.lap.scp.admin.bean;

import java.util.List;

/**
 * <pre>
 * 提供界面树形展示使用数据对象
 * </pre>
 * 
 * @author 劳水生 Exp
 * @Date 2017年9月4日 下午3:23:07
 * @since 1.0
 */
public class TreeDO {
	/**
	 * pid
	 */
	private int pid;
	/**
	 * id
	 */
	private int id;
	/**
	 * name
	 */
	private String name;
	/**
	 * 是否选中
	 */
	private boolean checked;
	/**
	 * 生成树的子类
	 */
	private List<TreeDO> children;

	public TreeDO() {
	}

	public TreeDO(int id, String name) {
		this.id = id;
		this.name = name;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public List<TreeDO> getChildren() {
		return children;
	}

	public void setChildren(List<TreeDO> children) {
		this.children = children;
	}

}
